Skip to content

Comments

[FEAT] 알림 페이지 API 구현#93

Merged
rhkr8521 merged 2 commits intodevelopfrom
feat/#89
Feb 18, 2026
Merged

[FEAT] 알림 페이지 API 구현#93
rhkr8521 merged 2 commits intodevelopfrom
feat/#89

Conversation

@gogori6565
Copy link
Contributor

@gogori6565 gogori6565 commented Feb 18, 2026

📣 Related Issue

📝 Summary

  1. 알림 페이지 전체 조회 API 구현
  2. 메인 페이지 - 미확인 알림 존재 여부 API 구현
  3. 팔로우(비공개 계정) 승인/삭제 API 구현

  1. 알림 페이지 전체 조회 API 구현
  • 스웨거에 적어둔 enum 값으로 알림 유형을 구분할 수 있습니다.
  • FOLLOW_PRIVATE 유형은 컴포넌트에 '승인/삭제' 버튼이 필요합니다. 3번의 API를 사용하면 됩니다.
    • 승인 시, FOLLOW_PRIVATE_ACCEPTED로 유형이 변경되므로 참고하여 컴포넌트 만들면 됩니다.
    • 삭제 시, 새로고침 후 알림이 삭제됩니다. (DB삭제)
  1. 메인 페이지 - 미확인 알림 존재 여부 API 구현
  • 미확인 알림에 대한 디자인이 나오지 않아, 우선 미확인 알림 존재 여부(true/false)와 개수(count)를 둘 다 반환하도록 구현하였습니다.
  1. 팔로우(비공개 계정) 승인/삭제 API 구현
  • RequestDTO 필드 구성: follower의 id값과 status(처리상태)를 보냅니다.
  • status는 승인: ACCEPT / 삭제: DELETE 로 보내면 처리됩니다.

📬 Reference

[알림 페이지 전체 조회 API 구현]
image

[메인 페이지 - 미확인 알림 존재 여부 API 구현]
image

[팔로우(비공개 계정) 승인/삭제 API 구현]
image

Copy link
Member

@rhkr8521 rhkr8521 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다.

@rhkr8521 rhkr8521 merged commit 3cb0869 into develop Feb 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 알림 페이지 API 구현

2 participants